File: Library\ObjectBrowser\Lists\SymbolListItem`1.cs
Web Access
Project: src\src\VisualStudio\Core\Def\Microsoft.VisualStudio.LanguageServices_yayxzhyh_wpftmp.csproj (Microsoft.VisualStudio.LanguageServices)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
#nullable disable
 
using Microsoft.CodeAnalysis;
 
namespace Microsoft.VisualStudio.LanguageServices.Implementation.Library.ObjectBrowser.Lists;
 
internal abstract class SymbolListItem<TSymbol> : SymbolListItem
    where TSymbol : ISymbol
{
    protected SymbolListItem(ProjectId projectId, TSymbol symbol, string displayText, string fullNameText, string searchText, bool isHidden)
       : base(projectId, symbol, displayText, fullNameText, searchText, isHidden)
    {
    }
 
    public TSymbol ResolveTypedSymbol(Compilation compilation)
        => (TSymbol)ResolveSymbol(compilation);
}